package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdUserDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;

import java.util.Map;

public interface AdUserService extends IService<AdUser> {

    /**
     * 登录
     *
     * @param dto 登录信息
     */
    ResponseResult<Map<String, Object>> login(AdUserDto dto);
}
